package com.mayikt.service;

import com.alibaba.fastjson.JSONObject;
import com.mayikt.base.BaseResponse;
import org.springframework.web.bind.annotation.GetMapping;


public interface OrderTokenService {

    /**
     * 新增对应商品库存令牌桶
     *
     * @seckillId 商品库存id
     */
    @GetMapping("/addSpikeToken")
    public BaseResponse<JSONObject> addSpikeToken(Long seckillId, Long tokenQuantity);
}
